package cn.seaboot.admin;

import java.lang.reflect.Method;

/**
 * @author Mr.css
 * @version 2022-02-16 16:36
 */
public class ObjectUtils {

    public static void main(String[] args) {
        Class<ObjectUtils> clazz = ObjectUtils.class;
        Method[] fields = clazz.getDeclaredMethods();
        for (Method field : fields) {
            String name = field.getName();
            if (name.startsWith("set") && !name.startsWith("is")) {
                System.out.println("mapper." + name + "(MapUtils.getString(ret, \"\"))");
            }
        }
    }
}
